<?php


namespace app\admin\model;


use app\common\model\City;
use think\Model;

class Report extends Model
{
    // 表名
    protected $name = 'user';



    public function city()
    {
        return $this->belongsTo(City::class, 'city_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }

    public function group()
    {
        return $this->belongsTo('UserGroup', 'group_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
}